package com.bio.service.basicinfo.impl;

import com.bio.dao.basicinfo.BasicinfoDao;
import com.bio.entity.basicinfo.Basicinfo;
import com.bio.service.basicinfo.BasicinfoService;
import com.bio.service.impl.AbstractService;
import com.bio.utils.Pager;
import com.bio.utils.Pagination;

public class BasicinfoServiceImpl extends AbstractService<Basicinfo, BasicinfoDao> implements BasicinfoService{

	public BasicinfoServiceImpl(BasicinfoDao dao) {
		super(dao);
	}

	@Override
	public Pager<Basicinfo> findPagerByCompanyId(Pagination pagination,
			Long companyId) {
		return dao.findPagerByCompanyId(pagination, companyId);
	}

	@Override
	public Pager<Basicinfo> findPagerByType(Pagination pagination,
			Integer type, Long companyId) {
		return dao.findPagerByType(pagination, type, companyId);
	}
}
